home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form frmSpread
- BackColor = &H000080FF&
- Caption = "The Spread Program"
- ClientHeight = 4515
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 7365
- Height = 4920
- Icon = SPREAD.FRX:0000
- Left = 1035
- LinkTopic = "Form1"
- ScaleHeight = 4515
- ScaleWidth = 7365
- Top = 1140
- Width = 7485
- Begin CommandButton cmdExit
- Caption = "E&xit"
- Height = 495
- Left = 360
- TabIndex = 1
- Top = 3840
- Width = 1335
- End
- Begin SpreadSheet Spread1
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 3495
- Left = 360
- MaxCols = 10
- MaxRows = 10
- TabIndex = 0
- Top = 240
- Width = 6495
- End
- Option Explicit
- Sub cmdExit_Click ()
- End
- End Sub
- Sub Form_Load ()
- ' Spread1.Col = 2
- ' Spread1.Row = 3
- ' Spread1.Value = "I'm cell B3"
- ' Select the entire spreadsheet
- Spread1.Col = -1
- Spread1.Row = -1
- ' Make the cell a float type
- Spread1.CellType = 2
- ' Set the current cell
- Spread1.Row = 4
- Spread1.Col = 3
- ' Set the formula of cell C4
- Spread1.Formula = "A1:A4"
- End Sub
-